/**
 * Copyright &copy; 2016-2017 <a href="https://www.lczyfz.com">联创智云</a> All rights reserved.
 */
package com.lczyfz.campusinfo.modules.campusinfo.entity;

import org.hibernate.validator.constraints.Length;

import com.lczyfz.campusinfo.common.persistence.DataEntity;

/**
 * 学校管理Entity
 * @author yt
 * @version 2017-10-13
 */
public class CampusinfoSchool extends DataEntity<CampusinfoSchool> {
	
	private static final long serialVersionUID = 1L;
	private String schoolname;		// 学校名称
	
	
	
	public CampusinfoSchool() {
		super();
	}

	public CampusinfoSchool(String id){
		super(id);
	}

	@Length(min=1, max=255, message="学校名称长度必须介于 1 和 255 之间")
	public String getSchoolname() {
		return schoolname;
	}

	public void setSchoolname(String schoolname) {
		this.schoolname = schoolname;
	}
	
}